namespace DingHeng.TransportationManagement.Entity
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("TransportationLog")]
    public partial class TransportationLog
    {
        public Guid ID { get; set; }

        public Guid? VehicleDispatchID { get; set; }

        public Guid? OperationTypeID { get; set; }

        [StringLength(128)]
        public string OperationTypeName { get; set; }

        public DateTime? OperationTime { get; set; }

        public Guid? OperationLocationID { get; set; }

        [StringLength(128)]
        public string OperationLocationName { get; set; }

        public Guid? OperationShiftTypeID { get; set; }

        public DateTime? OperationShiftDate { get; set; }

        public Guid? OperationUserID { get; set; }

        [StringLength(5)]
        public string OperationUserName { get; set; }

        [Column(TypeName = "numeric")]
        public decimal? TotalWeight { get; set; }

        [Column(TypeName = "numeric")]
        public decimal? VehicleWeight { get; set; }

        [Column(TypeName = "numeric")]
        public decimal? NetWeight { get; set; }

        [StringLength(256)]
        public string Remark { get; set; }

        [StringLength(8)]
        public string CreateBy { get; set; }

        public DateTime? CreateDate { get; set; }

        [StringLength(8)]
        public string UpdateBy { get; set; }

        public DateTime? UpdateDate { get; set; }

        public virtual VehicleDispatchForm VehicleDispatchForm { get; set; }
    }
}
